package cmd

import (
	"fmt"
	"os"
)

const specified = "not specified"

var (
	VERSION = specified
	BRANCH  = specified
	TAG     = specified
	COMMIT  = specified
	TIME    = specified
	ARCH    = specified
	OS      = specified
)

func Version() {
	fmt.Printf("  Version:         %s\n", VERSION)
	fmt.Printf("  Branch:          %s\n", BRANCH)
	fmt.Printf("  Tag:             %s\n", TAG)
	fmt.Printf("  Commit:          %s\n", COMMIT)
	fmt.Printf("  Arch:            %s\n", ARCH)
	fmt.Printf("  OS:              %s\n", OS)
	fmt.Printf("  Build:           %s\n", TIME)
	os.Exit(0)
}
